#include "NotifWindow.h"
#include "WindowManager.h"
#include "ui_NotifWindow.h"
NotifWindow::NotifWindow(QWidget *parent) :
    BaseWindow(parent),
    ui(new Ui::NotifWindow)
{
    ui->setupUi(this);
    QObject::connect(ui->mOkButton,SIGNAL(clicked()),this,SLOT(OnClick()));
}
void NotifWindow::SetText(const QString& text)
{
    ui->mText->setText(text);
}
void NotifWindow::OnClick()
{
    WindowManager::GetInstance()->CloseWindow(WindowManager::NOTIFWINDOW);


}
NotifWindow::~NotifWindow()
{
    delete ui;
}

